package com.xyz.frame.service;

import com.xyz.frame.bean.model.Weight;
import com.xyz.frame.bean.vo.WeightListVO;

import java.util.Date;
import java.util.List;

public interface WeightService {
    void add(Weight weight);

    void update(Weight weight);

    Weight getWeight(String userId, Date submitDate);

    List<WeightListVO> getWeightList(Date startDate, Date endDate, String userId);
}
